POV-Ray : Newsgroups : povray.general : Continue trace... Insight please : Re: Continue trace... Insight please Server Time
6 Aug 2024 06:16:14 EDT (-0400)
  Re: Continue trace... Insight please  
From: Tim Nikias
Date: 1 May 2002 10:36:58
Message: <3CCFFD59.6FD0403E@gmx.de>
Hm. povray.c?

You're talking about source-code there.
Though its nice of you to comment on that,
but I was merely asking where POV-Ray
saves its knowledge which file it has
traced recently, so that I can overwrite
newer data to use an other image to
check for continue-trace.

But someone will probably learn something
from that, though its not me! ;-)

"Y.Tanabe" wrote:

> Dear
>
> You must check a povray.c.
>
> Y.Tanabe
> Kobe,Japan
>
> ***********************************************
>  #ifdef df3OuputPatch
>    // disable continue trace if df3 output selected
>    if(opts.OutputFormat == 'd' || opts.OutputFormat == 'D')
>    {
>      if(opts.Options & CONTINUE_TRACE)
>      {
>         Warning(0.0,"Disabling continue-trace");
>         opts.Options &= ~CONTINUE_TRACE;
>      }
>    }
>  #endif
> ***********************************************
>    if((opts.Options & DISKWRITE) && (opts.Options & CONTINUE_TRACE))
>    {
>      Read_Rendered_Part(Actual_Output_Name);
>
>      if(opts.Last_Line > Frame.Screen_Height)
>         opts.Last_Line = Frame.Screen_Height;
>
>      if(opts.Last_Column > Frame.Screen_Width)
>         opts.Last_Column = Frame.Screen_Width;
>    }
> *******************************************************
>
>     if(opts.Options & CONTINUE_TRACE)
>     {
>       Stage = STAGE_CONTINUING;
>
>      
if(Open_File(Output_File_Handle,Actual_Output_Name,&Frame.Screen_Width,&Frame.Screen_Height,Buffer_Size,READ_MODE)
!= 1)
>       {
>         Close_File(Output_File_Handle);
>
>         Warning(0,"\nError opening continue trace output file.\n");
>         Warning(0,"Opening new output file %s.\n",Actual_Output_Name);
>
>         /* Turn off continue trace */
>
>         opts.Options &= ~CONTINUE_TRACE;
>
>        
if(Open_File(Output_File_Handle,Actual_Output_Name,&Frame.Screen_Width,&Frame.Screen_Height,Buffer_Size,WRITE_MODE)
!= 1)
>         {
>           Error("Error opening output file.");
>         }
>        // CHANGEFILETYPE
>       }
>     }
>     else
>     {
>      
if(Open_File(Output_File_Handle,Actual_Output_Name,&Frame.Screen_Width,&Frame.Screen_Height,Buffer_Size,WRITE_MODE)
!= 1)
>       {
>         Error("Error opening output file.");
>       }
>       //CHANGEFILETYPE
>     }
> **********************************************************
>

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.